# -*- coding: utf-8 -*-

from django.conf.urls import patterns, include, url
from django.views.generic.simple import direct_to_template
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'web_app.views.index', name='index'),
    url(r'^add-url/$', 'web_app.views.add_search_url', name='add-url'),
    url(r'^logout/$', 'web_app.views.logout', name='logout'),
    url(r'^research/$', 'web_app.views.research', name='research'),
    url(r'^send_notifications/$', 'web_app.views.send_notifications', name='send_notifications'),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    url(r'^admin/', include(admin.site.urls)),

    url(r'^social/', include('social_auth.urls')),
)
